﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Member.Client.Model
{
    public class Users
    {
        public Users() { }
        #region 会员字段
        private int id;
        /// <summary>
        /// 全站唯一id
        /// </summary>
        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        private string name;
        /// <summary>
        /// 唯一用户名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string passwd;
        /// <summary>
        /// 密码
        /// </summary>
        public string Passwd
        {
            get { return passwd; }
            set { passwd = value; }
        }
        private string email;
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        private string phone;
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone
        {
            get { return phone; }
            set { phone = value; }
        }
        private int type;
        /// <summary>
        /// 会员权限 0=受限,1=普通,2=高级,3..... 10=管理员
        /// </summary>
        public int Type
        {
            get { return type; }
            set { type = value; }
        }
        private string product;
        /// <summary>
        /// 授权应用. 如(1,2,3,4) 或(a,b,c,d)
        /// </summary>
        public string Product
        {
            get { return product; }
            set { product = value; }
        }
        private DateTime regTime;
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime RegTime
        {
            get { return regTime; }
            set { regTime = value; }
        }
        private string regIP;
        /// <summary>
        /// 注册IP
        /// </summary>
        public string RegIP
        {
            get { return regIP; }
            set { regIP = value; }
        }
        private DateTime loginTime;
        /// <summary>
        /// 登陆时间
        /// </summary>
        public DateTime LoginTime
        {
            get { return loginTime; }
            set { loginTime = value; }
        }
        private string loginIp;
        /// <summary>
        /// 登陆IP
        /// </summary>
        public string LoginIp
        {
            get { return loginIp; }
            set { loginIp = value; }
        }
        private string session;
        /// <summary>
        /// SessionKey
        /// </summary>
        public string Session
        {
            get { return session; }
            set { session = value; }
        }
        private string picTure;
        /// <summary>
        /// 头像
        /// </summary>
        public string PicTure
        {
            get { return picTure; }
            set { picTure = value; }
        }
        private DateTime startTime;
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime
        {
            get { return startTime; }
            set { startTime = value; }
        }
        private DateTime endTiem;
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTiem
        {
            get { return endTiem; }
            set { endTiem = value; }
        }

        private int status;
        /// <summary>
        /// 状态
        /// </summary>
        public int Status
        {
            get { return status; }
            set { status = value; }
        }
        #endregion

    }
}
